package com.nomito.minimito.service;

import com.baomidou.mybatisplus.extension.service.IService;
    import com.nomito.minimito.common.utils.PageUtils;
import com.nomito.minimito.entity.ImGroupfriendEntity;
import com.nomito.minimito.vo.GrouperVo;
import com.nomito.minimito.vo.RespGroupInfoVo;


import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author nomito
 * @email 1790464356@qq.com
 * @date 2021-05-08 21:04:18
 */
public interface ImGroupfriendService extends IService<ImGroupfriendEntity> {

    PageUtils queryPage(Map<String, Object> params);

    //查询用户参加群聊数量
    long getGroupCount(Long userId);

    List<Long> listGroupFriendsId(Long groupId);

    List<RespGroupInfoVo> queryMyGroups(Long userId);

    boolean joinGrops(Long activityId, Long userId);

    List<GrouperVo> queryGroupAllHuman(Long groupId);
}

